﻿@using PNProject
@model PNProject.Models.LogOnModel
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout1.cshtml";
    bool lang = (bool)ViewData["lang"];
    string langText = lang ? "" : "en-US/";
}
<style>
.regis_tb
{
    width:200px; height:25px;
    border:1px solid #0066FF;
}
.regis_div
{
    min-height:10px;
    overflow:hidden;
    width:210px;
    text-align:left;
    margin-bottom:10px;
}
.regis_title
{
    color:#0066FF;
    font-family:Tahoma;
    font-weight:bold;
}
</style>
<center>
    


    @using (Html.BeginForm())
    {
        <div>
            <br />

            <div class="regis_div">
                <span class="regis_title">@this.LocalResources("Username")</span>
                @Html.TextBoxFor(m => m.UserName, new { @class = "regis_tb" })
            </div>
            
            <div class="regis_div">
                <span class="regis_title">@this.LocalResources("Password")</span>
                @Html.PasswordFor(m => m.Password, new { @class = "regis_tb" })
            </div>
            <p>
                <input id="rebnt" type="submit" value="@this.LocalResources("Login")" style="width:80px; height:30px; cursor:pointer; background-color:#1D6FA9; color:White; font-family:Tahoma; font-weight:bold;" />
            </p>
        </div>
    }

</center>
<script type="text/javascript">
    $(document).ready(function () {
        $(".titlesub p").empty();
        $(".titlesub p").append('@Html.Raw(this.LocalResources("Login"))');
    });
</script>

